Log in Register Dashboard Temp Share Shortlinks Frames API

cody - HTMLify profile

cody's Profile Picture

cody

4270 Files

633464 Views

Latest files of /cody/swapnilsparsh/30DaysOfJavaScript/73 - Casino Slot Machine Game

style.css cody/swapnilsparsh/30DaysOfJavaScript/73 - Casino Slot Machine Game/style.css
111 Views
0 Comments
:root{
--speed: 5;
/* define variable like this using -- */
}
.machine{
background-color: peru;
border: dashed brown 3px;
height: 300px;
index.html cody/swapnilsparsh/30DaysOfJavaScript/73 - Casino Slot Machine Game/index.html
310 Views
0 Comments
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<script asyn defer src="script.js"></script>
readme.md cody/swapnilsparsh/30DaysOfJavaScript/73 - Casino Slot Machine Game/readme.md
182 Views
0 Comments
> # Casino Slot Machine Game
---

#### Slot machines include one or more currency detectors that validate the form of payment, whether coin, cash, voucher, or token. The machine pays out according to the pattern of symbols displayed when the reels stop "spinning".

**--> Here We will be using *emogies* in place of currency.**
___

script.js cody/swapnilsparsh/30DaysOfJavaScript/73 - Casino Slot Machine Game/script.js
168 Views
0 Comments
let value1 = document.getElementById("value1");
let value2 = document.getElementById("value2");
let value3 = document.getElementById("value3");

let inpSpeed = document.getElementById("inpSpeed");
let btnStart = document.getElementById("btnStart"); //
let btnStop = document.getElementById("btnStop"); //